projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff85d4f
)
(x_connection_closed): If waiting_for_input, call quit_throw_to_read_char.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 25 Jun 1996 00:32:51 +0000
(
00:32
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 25 Jun 1996 00:32:51 +0000
(
00:32
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index d217f169fee2ee98e9410aae5e33e5c3de6aa101..991b66995cf857a0fabb8b76ae4c01dfccd900db 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-148,6
+148,8
@@
Lisp_Object x_display_name_list;
is the frame to apply to. */
extern struct frame *updating_frame;
+extern waiting_for_input;
+
/* This is a frame waiting to be autoraised, within XTread_socket. */
struct frame *pending_autoraise_frame;
@@
-4533,6
+4535,12
@@
x_connection_closed (display, error_message)
sigunblock (sigmask (SIGALRM));
TOTALLY_UNBLOCK_INPUT;
+ if (waiting_for_input)
+ {
+ message ("%s", error_message);
+ quit_throw_to_read_char ();
+ }
+
error ("%s", error_message);
}